home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 294 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: zippy.cais.net!news
  2. From: mgeiger@mail.drsystems.com (Mark Geiger)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: strange problem with strcpy()
  5. Date: Thu, 04 Jan 1996 04:23:17 GMT
  6. Organization: Capital Area Internet Service info@cais.com 703-448-4470
  7. Message-ID: <4cfnu8$she@zippy.cais.net>
  8. References: <DKFsII.FyJ@iglou.com> <30e62ceb.8255139@ixnews1.ix.netcom.com> <DKGz2u.8rs@iglou.com> <4c9ita$chg@zippy.cais.net> <DKIs8H.3Ar@iglou.com>
  9. Reply-To: mgeiger@mail.drsystems.com
  10. NNTP-Posting-Host: 205.252.35.152
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. quare@iglou2.iglou.com (quare) wrote:
  14.  
  15. >Mark Geiger (mgeiger@drsystems.com) wrote:
  16. >> I think the only way that we can help you is to see the code.  Go
  17. >> ahead and post it.
  18.  
  19. >Well here is my malfunctioning code.  Please note that I have changed the
  20. >routine so that the amount of files must be known before invocation of
  21. >this function, in an attempt to remove the blame from the realloc()
  22. >technique.  thanks.  also note that include/exclude filespec is 
  23. >unimplemented as of yet.
  24.  
  25. Hmmm...this code looks correct to me.  I've also compiled it and
  26. tested it a bit and have not seen the problem that you report.
  27.  
  28. Perhaps there is some sort of heap contamination happening somewhere
  29. else in your program that is affecting you here?
  30.  
  31. Sorry I couldn't be of more help.
  32.  
  33.  
  34. Mark Geiger
  35. mgeiger@mail.drsystems.com
  36.  
  37.  
  38.